package com.missilike.repository.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 统计表
 * </p>
 *
 * @author kin
 * @since 2019-02-19
 */
public class MilContentStatistic implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 统计日期
     */
    private LocalDate statDate;

    /**
     * 内容id
     */
    private Integer contentId;

    /**
     * 总点赞用户数
     */
    private Integer appreciateCount;

    /**
     * 总收藏用户数
     */
    private Integer collectionCount;

    /**
     * 总评论用户数
     */
    private Integer commentCount;

    /**
     * 总转发用户数
     */
    private Integer transmitCount;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public LocalDate getStatDate() {
        return statDate;
    }

    public void setStatDate(LocalDate statDate) {
        this.statDate = statDate;
    }

    public Integer getContentId() {
        return contentId;
    }

    public void setContentId(Integer contentId) {
        this.contentId = contentId;
    }

    public Integer getAppreciateCount() {
        return appreciateCount;
    }

    public void setAppreciateCount(Integer appreciateCount) {
        this.appreciateCount = appreciateCount;
    }

    public Integer getCollectionCount() {
        return collectionCount;
    }

    public void setCollectionCount(Integer collectionCount) {
        this.collectionCount = collectionCount;
    }

    public Integer getCommentCount() {
        return commentCount;
    }

    public void setCommentCount(Integer commentCount) {
        this.commentCount = commentCount;
    }

    public Integer getTransmitCount() {
        return transmitCount;
    }

    public void setTransmitCount(Integer transmitCount) {
        this.transmitCount = transmitCount;
    }

    @Override
    public String toString() {
        return "MilContentStatistic{" +
        "id=" + id +
        ", statDate=" + statDate +
        ", contentId=" + contentId +
        ", appreciateCount=" + appreciateCount +
        ", collectionCount=" + collectionCount +
        ", commentCount=" + commentCount +
        ", transmitCount=" + transmitCount +
        "}";
    }
}
